/*
 * @Description: 公式字典
 * @Author: 丁少华
 * @Date: 2022-09-14 15:49:18
 */
//\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega
import Gamma from "./images/_Gamma.svg";
import Delta from "./images/_Delta.svg";
import Theta from "./images/_Theta.svg";
import Lambda from "./images/_Lambda.svg";
import Xi from "./images/_Xi.svg";
import Pi from "./images/_Pi.svg";
import Sigma from "./images/_Sigma.svg";
import Upsilon from "./images/_Upsilon.svg";
import Phi from "./images/_Phi.svg";
import Psi from "./images/_Psi.svg";
import Omega from "./images/_Omega.svg";
// \beta \gamma \delta \epsilon \varepsilon \zeta \eta \theta \vartheta \iota \kappa \lambda
import alpha from "./images/alpha.svg";
import beta from "./images/beta.svg";
import gamma from "./images/gamma.svg";
import delta from "./images/delta.svg";
import epsilon from "./images/epsilon.svg";
import varepsilon from "./images/varepsilon.svg";
import zeta from "./images/zeta.svg";
import eta from "./images/eta.svg";
import theta from "./images/theta.svg";
import vartheta from "./images/vartheta.svg";
import iota from "./images/iota.svg";
import kappa from "./images/kappa.svg";
import lambda from "./images/lambda.svg";
//\mu \nu \xi  o \pi \varpi \rho \varrho \sigma \varsigma \tau \upsilon \phi \varphi \chi \psi \omega

import mu from "./images/mu.svg";
import nu from "./images/nu.svg";
import xi from "./images/xi.svg";
import omicron from "./images/omicron.svg";
import pi from "./images/pi.svg";
import varpi from "./images/varpi.svg";
import rho from "./images/rho.svg";
import varrho from "./images/varrho.svg";
import sigma from "./images/sigma.svg";
import varsigma from "./images/varsigma.svg";
import tau from "./images/tau.svg";
import upsilon from "./images/upsilon.svg";
import phi from "./images/phi.svg";
import varphi from "./images/varphi.svg";
import chi from "./images/chi.svg";
import psi from "./images/psi.svg";
import omega from "./images/omega.svg";
//数学符号
import plus from "./images/plus.svg";
import minus from "./images/minus.svg";
import times from "./images/times.svg";
import div from "./images/div.svg";
import bias from "./images/bias.svg";
import pm from "./images/pm.svg";
import mp from "./images/mp.svg";
import ne from "./images/ne.svg";
import circ from "./images/circ.svg";
import bigcirc from "./images/bigcirc.svg";
//关系类
import insvg from "./images/in.svg";
import notin from "./images/notin.svg";
import subset from "./images/subset.svg";
import subseteq from "./images/subseteq.svg";
import supset from "./images/supset.svg";
import supseteq from "./images/supseteq.svg";
import emptyset from "./images/emptyset.svg";
import notsubset from "./images/notsubset.svg";
import notsupset from "./images/notsupset.svg";
import sim from "./images/sim.svg";
import equiv from "./images/equiv.svg";
import simequiv from "./images/simequiv.svg";
import lt from "./images/lt.svg";
import gt from "./images/gt.svg";
import notlt from "./images/notlt.svg";
import notgt from "./images/notgt.svg";
import Leftrightarrow from "./images/_Leftrightarrow.svg";
import forall from "./images/forall.svg";
// \nearrow \swarrow \nwarrow \searrow \uparrow \downarrow \updownarrow \leftarrow \rightarrow \leftrightarrow \Rightarrow
import nearrow from "./images/nearrow.svg";
import swarrow from "./images/swarrow.svg";
import nwarrow from "./images/nwarrow.svg";
import searrow from "./images/searrow.svg";
import uparrow from "./images/uparrow.svg";
import downarrow from "./images/downarrow.svg";
import updownarrow from "./images/updownarrow.svg";
import leftarrow from "./images/leftarrow.svg";
import rightarrow from "./images/rightarrow.svg";
import leftrightarrow from "./images/leftrightarrow.svg";
import Rightarrow from "./images/_Rightarrow.svg";

//\bot //  \angle \triangle ▱ \odot
import bot from "./images/bot.svg";
import varparallel from "./images/varparallel.svg";
import angle from "./images/angle.svg";
import triangle from "./images/triangle.svg";
import parallelogram from "./images/parallelogram.svg";
import odot from "./images/odot.svg";
//\cdot x^{\circ }x\cdegree\microamp\infty
import cdot from "./images/cdot.svg";
import xcirc from "./images/xcirc.svg";
import cdegree from "./images/cdegree.svg";
import infty from "./images/infty.svg";
import microamp from "./images/microamp.svg";
import frown from "./images/frown.svg";
//
import one from "./images/1.svg";
import two from "./images/2.svg";
import three from "./images/3.svg";
import four from "./images/4.svg";
import five from "./images/5.svg";
import six from "./images/6.svg";
import seven from "./images/7.svg";
import eight from "./images/8.svg";
import nine from "./images/9.svg";
import ten from "./images/10.svg";
import _1 from "./images/_1.svg";
import _2 from "./images/_2.svg";
import _3 from "./images/_3.svg";
import _4 from "./images/_4.svg";
import _5 from "./images/_5.svg";
import _6 from "./images/_6.svg";
import _7 from "./images/_7.svg";
import _8 from "./images/_8.svg";
import _9 from "./images/_9.svg";
import _10 from "./images/_10.svg";
import _11 from "./images/_11.svg";
import _12 from "./images/_12.svg";
import _13 from "./images/_13.svg";
import _14 from "./images/_14.svg";
import _15 from "./images/_15.svg";
import _16 from "./images/_16.svg";
import _17 from "./images/_17.svg";
import _18 from "./images/_18.svg";
import _19 from "./images/_19.svg";
import _20 from "./images/_20.svg";
//常用公式
import oversetcdot from "./images/oversetcdot.svg";
import doublecdot from "./images/doublecdot.svg";
import fraction from "./images/fraction.svg";
import sqrt from "./images/sqrt.svg";
import sqrt2 from "./images/sqrt2.svg";
import sub from "./images/sub.svg";
import sup from "./images/sup.svg";
import subsup from "./images/subsup.svg";
import bracket from "./images/bracket.svg";
import abs from "./images/abs.svg";
import sqrtformula1 from "./images/sqrtformula1.svg";
import sqrtformula2 from "./images/sqrtformula2.svg";
import sqrtformula3 from "./images/sqrtformula3.svg";
import sumformula from "./images/sumformula.svg";
import derivative1 from "./images/derivative1.svg";
import derivative2 from "./images/derivative2.svg";
import sin from "./images/sin.svg";
import cos from "./images/cos.svg";
import tan from "./images/tan.svg";
import _sin from "./images/_sin.svg";
import _cos from "./images/_cos.svg";
import _tan from "./images/_tan.svg";
//物理
import avg from "./images/avg.svg";
import avgspeed from "./images/avgspeed.svg";
import gravity from "./images/gravity.svg";
import weight from "./images/weight.svg";
import density from "./images/density.svg";
import weighingmethod from "./images/weighingmethod.svg";
import archimedes from "./images/archimedes.svg";
import floating from "./images/floating.svg";
import pressure from "./images/pressure.svg";
import liquidpressure from "./images/liquidpressure.svg";
import impetus from "./images/impetus.svg";
import effect from "./images/effect.svg";
import power from "./images/power.svg";
import usefuleffect from "./images/usefuleffect.svg";
import totaleffect from "./images/totaleffect.svg";
import efficiency from "./images/efficiency.svg";
import pull from "./images/pull.svg";
import pull2 from "./images/pull2.svg";
import heat from "./images/heat.svg";
import calorific from "./images/calorific.svg";
import electricpower from "./images/electricpower.svg";
import electromagnetic from "./images/electromagnetic.svg";
import seriesresistance from "./images/seriesresistance.svg";
import parallelresistance from "./images/parallelresistance.svg";
import dioxygen from "./images/dioxygen.svg";
import reaction1 from "./images/reaction1.svg";
import reaction2 from "./images/reaction2.svg";
import H2SO4 from "./images/H2SO4.svg";
import customrightleft from "./images/customrightleft.svg";
import customright from "./images/customright.svg";
import customeq from "./images/customeq.svg";

//矩阵
import matrix from "./images/matrix.svg";
import matrix2 from "./images/matrix2.svg";
import lmatrix from "./images/lmatrix.svg";
import lmatrix2 from "./images/lmatrix2.svg";
import rmatrix from "./images/rmatrix.svg";
import bmatrix from "./images/bmatrix.svg";
import vmatrix from "./images/vmatrix.svg";
import Vmatrix from "./images/_Vmatrix.svg";
import pmatrix from "./images/pmatrix.svg";
import Bmatrix from "./images/_Bmatrix.svg";

// 竖式
import addImg from "./images/vertical-add.svg";
import minusImg from "./images/vertical-minus.svg";
import multiImg from "./images/vertical-multi.svg";
import divImg from "./images/vertical-div.svg";

export interface IFormulaItem<T = string> {
  remark?: string;
  latex: T;
  icon: any;
}

// 所有公式（数学、物理、化学、希腊字母、符号、矩阵）
const dict = [
  {
    key: "math",
    label: "数学",
    content: [
      {
        latex: '\\overset{\\cdot}{x}',
        remark: "循环小数",
        icon: oversetcdot,
      },
      {
        latex: "\\overset{\\cdot}{x}\\overset{\\cdot}{y}",
        remark: "循环小数",
        icon: doublecdot,
      },

      {
        latex: "\\fraction{}{}",
        remark: "分数",
        icon: fraction,
      },
      {
        latex: "\\sqrt{}",
        remark: "根式",
        icon: sqrt,
      },
      {
        latex: "\\sqrt[a]{x}",
        remark: "根式",
        icon: sqrt2,
      },
      {
        latex: "x^{a}",
        remark: "上标",
        icon: sup,
      },
      {
        latex: "x_{a}",
        remark: "下标",
        icon: sub,
      },
      {
        latex: "x_{a}^{b}",
        remark: "角标",
        icon: subsup,
      },
      {
        latex: "\\sin \\alpha",
        remark: "正弦函数",
        icon: sin,
      },
      {
        latex: "\\cos \\alpha",
        remark: "余弦函数",
        icon: cos,
      },
      {
        latex: "\\tan \\alpha",
        remark: "正切函数",
        icon: tan,
      },
      {
        latex: "\\sin^{-1} \\alpha",
        remark: "反正弦函数",
        icon: _sin,
      },
      {
        latex: "\\cos^{-1} \\alpha",
        remark: "反余弦函数",
        icon: _cos,
      },
      {
        latex: "\\tan^{-1} \\alpha",
        remark: "反正切函数",
        icon: _tan,
      },
      {
        latex: "\\left({}\\right)",
        remark: "小括号",
        icon: bracket,
      },
      {
        latex: "\\left|{}\\right|",
        remark: "绝对值",
        icon: abs,
      },
      {
        latex: "f'",
        remark: "导数",
        icon: derivative1,
      },
      {
        latex: "f''",
        remark: "导数",
        icon: derivative2,
      },
      {
        latex: "\\sqrt{a^{2}+b^{2}}",
        remark: "根号公式",
        icon: sqrtformula1,
      },
      {
        latex: "\\sqrt{b^{2}-4ac}",
        remark: "根号公式",
        icon: sqrtformula2,
      },
      {
        latex: "x=\\frac{-b\\pm\\sqrt{b^{2}-4ac}}{2a}",
        remark: "根号公式",
        icon: sqrtformula3,
      },
      {
        latex: "\\sum_{k=1}^{n} k^2",
        remark: "求和",
        icon: sumformula,
      },
    ],
  },
  {
    key: "physics",
    label: "物理",
    content: [
      {
        latex: "\\overline{M}",
        remark: "平均值",
        icon: avg,
      },
      {
        latex: "G=mg",
        remark: "重力公式",
        icon: gravity,
      },

      {
        latex: "F_{浮}=G-F_{示}",
        remark: "浮力公式-称重法",
        icon: weighingmethod,
      },
      {
        latex: "F_{浮}=\\rho _{液}gV_{排}",
        remark: "浮力公式-阿基米德法",
        icon: archimedes,
      },
      {
        latex: "F_{浮}=G",
        remark: "浮力公式-漂浮法",
        icon: floating,
      },

      {
        latex: "W_{有用}=Gh",
        remark: "有用功",
        icon: usefuleffect,
      },
      {
        latex: "W_{总}=Fs",
        remark: "总功",
        icon: totaleffect,
      },
      {
        latex: "F_{1}l_{1}=F_{2}l_{2}",
        remark: "动力和阻力公式",
        icon: impetus,
      },
      {
        latex: "W=Fs",
        remark: "功-定义式",
        icon: effect,
      },

      {
        latex: "\\mathsf{Q} =qm",
        remark: "热值公式",
        icon: calorific,
      },
      {
        latex: "c=\\lambda \\nu",
        remark: "电磁波公式",
        icon: electromagnetic,
      },
      {
        latex: "R=R_1+R_2",
        remark: "串联电阻公式",
        icon: seriesresistance,
      },
      {
        latex: "p=\\rho gh",
        remark: "液体压强公式",
        icon: liquidpressure,
      },
      {
        latex: "Q_吸=cm\\triangle t=cm\\left(t_2-t_1\\right)",
        remark: "热量公式",
        icon: heat,
      },
      {
        latex: "\\rho =\\frac{m}{V}",
        remark: "密度公式",
        icon: density,
      },
      {
        latex: "\\nu =\\frac{s}{t}",
        remark: "平均速度公式",
        icon: avgspeed,
      },

      {
        latex: "m=\\frac{G}{g}",
        remark: "重力求质量",
        icon: weight,
      },
      {
        latex: "p=\\frac{F}{S}",
        remark: "压强公式",
        icon: pressure,
      },

      {
        latex: "P=\\frac{W}{t}=\\frac{Fs}{t}=F\\nu",
        remark: "功率",
        icon: power,
      },

      {
        latex: "\\eta =\\frac{W_有}{W_总}\\times 100\\%",
        remark: "机械效率",
        icon: efficiency,
      },
      {
        latex: "F=\\frac{1}{n} G_物",
        remark: "滑轮组拉力公式-不计动滑轮和绳重及摩擦",
        icon: pull,
      },
      {
        latex: "F=\\frac{1}{n} \\left(G_物+G_动\\right)",
        remark: "滑轮组拉力公式-不计绳重及摩擦",
        icon: pull2,
      },

      {
        latex: "P=UI=I^2R=\\frac{U^2}{R}",
        remark: "电功率公式",
        icon: electricpower,
      },

      {
        latex: "R=\\frac{1}{R_1}+\\frac{1}{R_2}",
        remark: "并联电阻公式",
        icon: parallelresistance,
      },
    ],
  },
  {
    key: "chemistry",
    label: "化学",
    content: [
      {
        latex: "2H_2O_2",
        icon: dioxygen,
        remark: "化学物质",
      },
      {
        latex: "SO_4\\ ^{2-}+Ba^{2+}\\rightarrow BaSO_4\\downarrow",
        icon: reaction1,
        remark: "反应式",
      },
      {
        latex:
          "A\\downarrow \\ B\\downarrow\\  \\longrightarrow B\\uparrow \\ B\\uparrow",
        icon: reaction2,
        remark: "反应式",
      },
      {
        latex: "\\xrightarrow{一定条件}{\\ }",
        icon: customright,
        remark: "反应条件",
      },
      {
        // latex: "\\xrightarrow{浓硫酸}{170\\celsius}",
        latex:"\\xrightarrow[170℃]{浓硫酸}",
        icon: H2SO4,
        remark: "反应条件",
      },
      {
        latex: "\\xlongequal{一定条件}{\\ }",
        icon: customeq,
        remark: "反应条件",
      },
      // {
      //   latex: '\\xlongequal[你好]{一定条件}',
      //   icon: customeq,
      //   remark: '反应条件',
      // },
      {
        latex: "\\xleftrightharpoons[]{\\ 一定条件}",
        icon: customrightleft,
        remark: "反应条件",
      },
    ],
  },
  {
    key: "greekLetter",
    label: "希腊字母",
    child: [
      {
        key: "lowercase",
        label: "小写",
        content: [
          {
            remark: "alpha",
            latex: "\\alpha",
            icon: alpha,
          },
          {
            remark: "beta",
            latex: "\\beta",
            icon: beta,
          },
          {
            remark: "gamma",
            latex: "\\gamma",
            icon: gamma,
          },
          {
            remark: "delta",
            latex: "\\delta",
            icon: delta,
          },
          {
            remark: "epsilon",
            latex: "\\epsilon",
            icon: epsilon,
          },
          {
            remark: "varepsilon",
            latex: "\\varepsilon",
            icon: varepsilon,
          },
          {
            remark: "zeta",
            latex: "\\zeta",
            icon: zeta,
          },
          {
            remark: "eta",
            latex: "\\eta",
            icon: eta,
          },
          {
            remark: "theta",
            latex: "\\theta",
            icon: theta,
          },
          {
            remark: "vartheta",
            latex: "\\vartheta",
            icon: vartheta,
          },
          {
            remark: "iota",
            latex: "\\iota",
            icon: iota,
          },
          {
            remark: "kappa",
            latex: "\\kappa",
            icon: kappa,
          },
          {
            remark: "lambda",
            latex: "\\lambda",
            icon: lambda,
          },
          //\mu \nu \xi  o \pi \varpi \rho \varrho \sigma \varsigma \tau \upsilon \phi \varphi \chi \psi \omega
          {
            remark: "mu",
            latex: "\\mu",
            icon: mu,
          },
          {
            remark: "nu",
            latex: "\\nu",
            icon: nu,
          },
          {
            remark: "xi",
            latex: "\\xi",
            icon: xi,
          },
          {
            remark: "omicron",
            latex: "o",
            icon: omicron,
          },
          {
            remark: "pi",
            latex: "\\pi",
            icon: pi,
          },
          {
            remark: "varpi",
            latex: "\\varpi",
            icon: varpi,
          },
          {
            remark: "rho",
            latex: "\\rho",
            icon: rho,
          },
          {
            remark: "varrho",
            latex: "\\varrho",
            icon: varrho,
          },
          {
            remark: "sigma",
            latex: "\\sigma",
            icon: sigma,
          },
          {
            remark: "varsigma",
            latex: "\\varsigma",
            icon: varsigma,
          },
          {
            remark: "tau",
            latex: "\\tau",
            icon: tau,
          },
          {
            remark: "upsilon",
            latex: "\\upsilon",
            icon: upsilon,
          },
          {
            remark: "phi",
            latex: "\\phi",
            icon: phi,
          },
          {
            remark: "varphi",
            latex: "\\varphi",
            icon: varphi,
          },
          {
            remark: "chi",
            latex: "\\chi",
            icon: chi,
          },
          {
            remark: "psi",
            latex: "\\psi",
            icon: psi,
          },
          {
            remark: "omega",
            latex: "\\omega",
            icon: omega,
          },
        ],
      },
      {
        key: "uppercase",
        label: "大写",
        content: [
          {
            remark: "Gamma",
            latex: "\\Gamma",
            icon: Gamma,
          },
          {
            remark: "Delta",
            latex: "\\Delta",
            icon: Delta,
          },
          {
            remark: "Theta",
            latex: "\\Theta",
            icon: Theta,
          },
          {
            remark: "Lambda",
            latex: "\\Lambda",
            icon: Lambda,
          },
          {
            remark: "Xi",
            latex: "\\Xi",
            icon: Xi,
          },
          {
            remark: "Pi",
            latex: "\\Pi",
            icon: Pi,
          },
          {
            remark: "Sigma",
            latex: "\\Sigma",
            icon: Sigma,
          },
          {
            remark: "Upsilon",
            latex: "\\Upsilon",
            icon: Upsilon,
          },
          {
            remark: "Phi",
            latex: "\\Phi",
            icon: Phi,
          },
          {
            remark: "Psi",
            latex: "\\Psi",
            icon: Psi,
          },
          {
            remark: "Omega",
            latex: "\\Omega",
            icon: Omega,
          },
        ],
      },
    ],
  },
  {
    key: "MathSymbol",
    label: "符号",
    child: [
      {
        key: "operator",
        label: "基本操作符",
        content: [
          {
            latex: "+",
            icon: plus,
            remark: "加",
          },

          {
            latex: "-",
            icon: minus,
            remark: "减",
          },
          {
            latex: "\\times",
            icon: times,
            remark: "乘",
          },
          {
            latex: "\\div",
            icon: div,
            remark: "除",
          },
          {
            latex: "/",
            icon: bias,
            remark: "除",
          },
          {
            latex: "\\pm",
            icon: pm,
            remark: "加减",
          },
          {
            latex: "\\mp",
            icon: mp,
            remark: "减加",
          },
          {
            latex: "\\ne",
            icon: ne,
            remark: "不等于",
          },
          {
            latex: "\\circ",
            icon: circ,
            remark: "圆",
          },
          {
            latex: "\\bigcirc",
            icon: bigcirc,
            remark: "大圆",
          },
        ],
      },
      {
        key: "set",
        label: "关系运算符",
        content: [
          {
            latex: "\\in",
            icon: insvg,
            remark: "属于",
          },
          {
            latex: "\\notin",
            icon: notin,
            remark: "不属于",
          },
          {
            latex: "\\emptyset",
            icon: emptyset,
            remark: "空集",
          },
          {
            latex: "\\subset",
            icon: subset,
            remark: "包含于",
          },
          {
            latex: "\\subseteq",
            icon: subseteq,
            remark: "真包含于",
          },
          {
            latex: "\\notsubset",
            icon: notsubset,
            remark: "不包含于",
          },
          {
            latex: "\\supset",
            icon: supset,
            remark: "包含",
          },
          {
            latex: "\\supseteq",
            icon: supseteq,
            remark: "真包含",
          },
          {
            latex: "\\notsupset",
            icon: notsupset,
            remark: "不包含",
          },
          {
            latex: "\\sim",
            icon: sim,
            remark: "相似",
          },
          {
            latex: "\\equiv",
            icon: equiv,
            remark: "恒等于",
          },
          {
            latex: "\\cong",
            icon: simequiv,
            remark: "全等于",
          },
          {
            latex: "\\lt",
            icon: lt,
            remark: "小于",
          },
          {
            latex: "≮",
            icon: notlt,
            remark: "不小于",
          },
          {
            latex: "\\gt",
            icon: gt,
            remark: "大于",
          },
          {
            latex: "≯",
            icon: notgt,
            remark: "不大于",
          },
          {
            latex: "\\Leftrightarrow",
            icon: Leftrightarrow,
            remark: "等价",
          },
          {
            latex: "\\forall",
            icon: forall,
            remark: "任意",
          },
        ],
      },
      {
        key: "arrow",
        label: "箭头",
        content: [
          {
            latex: "\\nearrow",
            remark: "右上",
            icon: nearrow,
          },
          {
            latex: "\\swarrow",
            remark: "左下",
            icon: swarrow,
          },
          {
            latex: "\\nwarrow",
            remark: "左上",
            icon: nwarrow,
          },
          {
            latex: "\\searrow",
            remark: "右下",
            icon: searrow,
          },
          // \uparrow \downarrow \updownarrow \leftrightarrow \leftarrow  \rightarrow
          {
            latex: "\\uparrow",
            remark: "上",
            icon: uparrow,
          },
          {
            latex: "\\downarrow",
            remark: "下",
            icon: downarrow,
          },
          {
            latex: "\\updownarrow",
            remark: "上下",
            icon: updownarrow,
          },
          {
            latex: "\\leftarrow",
            remark: "左",
            icon: leftarrow,
          },
          {
            latex: "\\rightarrow",
            remark: "右",
            icon: rightarrow,
          },
          {
            latex: "\\leftrightarrow",
            remark: "左右",
            icon: leftrightarrow,
          },
          {
            latex: "\\Rightarrow",
            remark: "推导出",
            icon: Rightarrow,
          },
        ],
      },
      {
        key: "geometry",
        label: "几何符号",
        content: [
          //\bot \angle  \triangle  \cdot \odot
          {
            latex: "\\bot",
            icon: bot,
            remark: "垂直",
          },
          {
            latex: "//",
            icon: varparallel,
            remark: "平行",
          },
          {
            latex: "\\angle",
            icon: angle,
            remark: "角度",
          },
          {
            latex: "\\triangle",
            icon: triangle,
            remark: "三角形",
          },
          {
            latex: "▱",
            icon: parallelogram,
            remark: "平行四边形",
          },

          {
            latex: "\\odot",
            icon: odot,
            remark: "圆心",
          },
        ],
      },
      {
        key: "special",
        label: "特殊符号",
        content: [
          {
            latex: "\\cdot",
            icon: cdot,
            remark: "点",
          },
          {
            latex: "x\\degree",
            icon: xcirc,
            remark: "度",
          },
          {
            latex: "x\\celsius",
            icon: cdegree,
            remark: "摄氏度",
          },
          {
            latex: "\\embed{microamp}",
            icon: microamp,
            remark: "微安",
          },
          {
            latex: "\\infty ",
            icon: infty,
            remark: "无穷",
          },
          //??动态注册命令？

          {
            latex: "\\overset{\\frown}{AB}",
            icon: frown,
            remark: "弧",
          },
          {
            latex: "①",
            icon: one,
            remark: "①",
          },
          {
            latex: "②",
            icon: two,
            remark: "②",
          },
          {
            latex: "③",
            icon: three,
            remark: "③",
          },
          {
            latex: "④",
            icon: four,
            remark: "④",
          },
          {
            latex: "⑤",
            icon: five,
            remark: "⑤",
          },
          {
            latex: "⑥",
            icon: six,
            remark: "⑥",
          },
          {
            latex: "⑦",
            icon: seven,
            remark: "⑦",
          },
          {
            latex: "⑧",
            icon: eight,
            remark: "⑧",
          },
          {
            latex: "⑨",
            icon: nine,
            remark: "⑨",
          },
          {
            latex: "⑩",
            icon: ten,
            remark: "⑩",
          },
          { latex: "1-Ⅰ", remark: "1", icon: _1 },
          { latex: "2-Ⅱ", remark: "2", icon: _2 },
          { latex: "3-Ⅲ", remark: "3", icon: _3 },
          { latex: "4-Ⅳ", remark: "4", icon: _4 },
          { latex: "5-Ⅴ", remark: "5", icon: _5 },
          { latex: "6-Ⅵ", remark: "6", icon: _6 },
          { latex: "7-Ⅶ", remark: "7", icon: _7 },
          { latex: "8-Ⅷ", remark: "8", icon: _8 },
          { latex: "9-Ⅸ", remark: "9", icon: _9 },
          { latex: "10-Ⅹ", remark: "10", icon: _10 },
          { latex: "11-Ⅺ", remark: "11", icon: _11 },
          { latex: "12-Ⅻ", remark: "12", icon: _12 },
          { latex: "13-XIII", remark: "13", icon: _13 },
          { latex: "14-XIV", remark: "14", icon: _14 },
          { latex: "15-XV", remark: "15", icon: _15 },
          { latex: "16-XVI", remark: "16", icon: _16 },
          { latex: "17-XVII", remark: "17", icon: _17 },
          { latex: "18-XVIII", remark: "18", icon: _18 },
          { latex: "19-XIX", remark: "19", icon: _19 },
          { latex: "20-XX", remark: "20", icon: _20 },
        ],
      },
    ],
  },
  {
    key: "Matrix",
    label: "矩阵",
    content: [
      //无括号
      {
        latex: "\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}",
        icon: matrix,
      },
      //中括号
      {
        latex:
          "\\left[\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right]",
        icon: bmatrix,
      },
      //小括号
      {
        latex:
          "\\left(\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right)",
        icon: pmatrix,
      },
      //单竖线
      {
        latex:
          "\\left|\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right|",
        icon: vmatrix,
      },
      //双竖线
      {
        latex:
          "\\left||\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right||",
        icon: Vmatrix,
      },
      //大括号
      {
        latex:
          "\\left\\{\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right\\}",
        icon: Bmatrix,
      },
      //左大括号
      {
        latex:
          "\\left\\{\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right.",
        icon: lmatrix,
      },
      //右大括号
      {
        latex:
          "\\left.\\begin{matrix}{}&{}&{}\\\\{}&{}&{}\\end{matrix}\\right\\}",
        icon: rmatrix,
      },
      //左大括号+文字
      {
        latex: "\\left\\{\\begin{matrix}if x=\\\\if x=\\end{matrix}\\right.",
        icon: lmatrix2,
      },
      //无大括号+文字
      {
        latex: "\\begin{matrix}y=1729x\\\\y=x\\end{matrix}",
        icon: matrix2,
      },
    ],
  },
  // {
  //   key: "vertical",
  //   label: "竖式",
  //   content: [
  //     { latex: "+", remark: "加", icon: addImg },
  //     { latex: "-", remark: "减", icon: minusImg },
  //     { latex: "×", remark: "乘", icon: multiImg },
  //     { latex: "÷", remark: "除", icon: divImg },
  //   ],
  // },
];

export default dict;